<?php
/**
 * TOP API: itaoke.pdd.item.transform
 * @author Itaoke itaoke.org
 */
class ItaokePddItemTransform
{
	private $fields;
	private $goods_id;
	private $pdd_pid;
	private $pdd_oauth;
	private $apiParas = array();
	
	public function setFields($fields)
	{
		$this->fields = $fields;
	}

	public function getFields()
	{
		return $this->fields;
	}

	public function setGoodsId($goods_id)
	{
		$this->goods_id = $goods_id;
		$this->apiParas["goods_id"] = $goods_id;
	}

	public function getGoodsId()
	{
		return $this->goods_id;
	}

	public function setPddPid($pdd_pid)
	{
		$this->pdd_pid = $pdd_pid;
		$this->apiParas["pdd_pid"] = $pdd_pid;
	}

	public function getPddPid()
	{
		return $this->pdd_pid;
	}

    public function setPddOauth($pdd_oauth)
    {
        $this->pdd_oauth = $pdd_oauth;
        $this->apiParas["pdd_oauth"] = $pdd_oauth;
    }

    public function getPddOauth()
    {
        return $this->pdd_oauth;
    }

	public function getApiMethodName()
	{
		return "itaoke.pdd.item.transform";
	}
	
	public function getApiParas()
	{
		return $this->apiParas;
	}
	
	public function check()
	{
		
	}
	
	public function putOtherTextParam($key, $value) {
		$this->apiParas[$key] = $value;
		$this->$key = $value;
	}

}